package com.lightjet.macross.base.upms.domain;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.lightjet.macross.common.core.BaseEntity;
import com.lightjet.macross.common.core.IntKeyBaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import org.hibernate.annotations.GenericGenerator;

import javax.persistence.*;

@Entity
@Table(name="UPMS_SYSTEMINFO")
@Getter
@Setter
@NoArgsConstructor
@JsonIgnoreProperties({"hibernateLazyInitializer", "handler","createDate","updateDate"})
@ApiModel(description = "接入系统信息实体类")
public class SystemInfo extends IntKeyBaseEntity {

    /*@Id
    @GeneratedValue(strategy = GenerationType.AUTO, generator = "native")
    @GenericGenerator(name = "native", strategy = "native")
    @ApiModelProperty(value = "系统信息表ID")
    private Integer id;*/

    public SystemInfo(Integer id)
    {
        this.id = id;
    }

    @Override
    public Integer getId()
    {
        return this.id;
    }

    @ApiModelProperty(value = "系统名称")
    private String systemname;

    @ApiModelProperty(value = "系统简称")
    private String shortname;

    @ApiModelProperty(value = "系统描述")
    private String systemdescription;

    @ApiModelProperty(value = "用户体系实现bean标识")
    private String usibn;

    @ApiModelProperty(value = "备注信息")
    private String remark;



}
